Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
src/Infrastructure/BotSharp.Abstraction/Instructs/Enums/ResponseFormatType.cs
Show resolved
Hide resolved
Co-authored-by: Aden <128471249+adenchen123@users.noreply.github.com> Co-authored-by: Jicheng Lu <franklujc@gmail.com> Co-authored-by: iceljc <46039045+iceljc@users.noreply.github.com> Co-authored-by: Jack <jjy_8888@163.com> Co-authored-by: jackjiang-sms <jianyong.jiang@starlight-sms.com> optimize ResponseFormat
|
The current changes cannot be compiled. |
Fixed |
|
reviewed |
PR Type
Enhancement
Description
Add JSON repair service using LLM for malformed JSON
Implement IJsonRepairService interface with repair methods
Create JsonRepairPlugin for dependency injection registration
Add Liquid template for JSON repair prompt generation
Diagram Walkthrough
File Walkthrough
IJsonRepairService.cs
JSON repair service interface definitionsrc/Infrastructure/BotSharp.Abstraction/Utilities/IJsonRepairService.cs
JsonRepairPlugin.cs
Plugin registration for JSON repair servicesrc/Infrastructure/BotSharp.Core/JsonRepair/JsonRepairPlugin.cs
JsonRepairService.cs
JSON repair service implementation with LLMsrc/Infrastructure/BotSharp.Core/JsonRepair/JsonRepairService.cs
json_repair.liquid
Liquid template for JSON repair promptsrc/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/json_repair.liquid
BotSharp.Core.csproj
Project file updates for template resourcessrc/Infrastructure/BotSharp.Core/BotSharp.Core.csproj